package com.freedom.start.sys.service;

import com.freedom.start.common.base.BaseCrudService;
import com.freedom.start.sys.dao.UserDao;
import com.freedom.start.sys.entity.UserEntity;
import org.springframework.stereotype.Service;

/**
 * @Author: zhenggang.liu
 * @Date: 2020/2/10 16:52
 */
@Service
public class UserService extends BaseCrudService<UserDao, UserEntity> {


    public UserEntity getByUsername(String username){
        UserEntity user = dao.getByUsername(username);
        return user;
    }

}
